package com.lxw.station.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;
@Data
@Accessors(chain = true)
@TableName("my_article")
public class MyArticle {

    @TableId(value = "article_id", type = IdType.AUTO)
    private Integer articleId;

    @TableField("title")
    private String title;

    /**
     * 文章摘要
     */
    @TableField("description")
    private String description;

    /**
     * html格式内容
     */
    @TableField("content")
    private String content;

    /**
     * markdown格式内容
     */
    @TableField("markdowncontent")
    private String markdowncontent;

    /**
     * 文章标签
     */
    @TableField("tags")
    private String tags;

    /**
     * 分类专栏
     */
    @TableField("categories")
    private String categories;

    /**
     * 文章类型:原创original,转载repost,翻译
     */
    @TableField("type")
    private String type;

    @TableField("status")
    private Integer status;

    /**
     * 可见范围:全部public,仅我可见,粉丝可见read_need_fans,vip可见
     */
    @TableField("read_type")
    private String readType;

    @TableField("reason")
    private String reason;

    @TableField("resource_url")
    private String resourceUrl;

    @TableField("resource_id")
    private String resourceId;

    @TableField("original_link")
    private String originalLink;

    @TableField("authorized_status")
    private Boolean authorizedStatus;

    @TableField("check_original")
    private Boolean checkOriginal;

    /**
     * 编辑类型:0富文本1markdown
     */
    @TableField("editor_type")
    private Integer editorType;

    @TableField("plan")
    private String plan;

    @TableField("vote_id")
    private Integer voteId;

    @TableField("scheduled_time")
    private Integer scheduledTime;

    @TableField("level")
    private String level;

    /**
     * 封面类型
     */
    @TableField("cover_type")
    private String coverType;

    /**
     * 封面图片
     */
    @TableField("cover_images")
    private String coverImages;

    /**
     * 是否上传
     */
    @TableField("upload")
    private Boolean upload;

}
